Unable to build vtk 8 on ubuntu 22.04

Issue: https://gitlab.kitware.com/vtk/vtk/-/issues/19011
Fix: https://gitlab.kitware.com/vtk/vtk/-/commit/c83b583

If an error occurs with make -j4, try again with make -j1 and the error will appear at the bottom of the output instead of somewhere in the middle. Or search the output for “error:”.