Backported changes for OSX 10.9 to VTK 5.10. See http://paraview.org/Bug/view.php?id=14359