Problem with CMAKE_AUTOUIC

For reference, @jobor pointed out in the issue that this is not a bug.

@amaclean please account for that answer in the VTK Examples.