fix compilation for vtk6