fix for supporting external vtk build condition