vtk: fixes for compilation with python wrapping

Fixes two issues :

For 10.8 : https://github.com/mxcl/homebrew/issues/16646
For 10.6 : https://github.com/mxcl/homebrew/issues/14871