Fix TVTK for VTK 6

See the commit log for details. This fixes the compilation problem for me, but I didn't manage to test it yet (to make sure that everything works), as I am now figuring how to install traitsui.