COMP: Fix compile for both vtk 5 and 6.