Fixed initialization of VTK on mac.