Fix vtk6 vtk5 build errors