vtk 9.6.2 build error

Build with -DCMAKE_GENERATOR_TOOLSET=v142 is fine. Thank You!