Mac build fixes

These are changes that are required to get this to build cleanly on Mac.

The VTK build requires Qt options to be set on.