Fix for VTK 5.10 on Visual Studio. Thanks to Sebastian Ordas.