vtk: build fixes