Fixes #25456 Before this, CMake configure halted as the slashes were interpreted as invalid escape characters