Modules: CMAKE_*_COMPILER convert path to cmake path

Fixes #25456

Before this, CMake configure halted as the slashes were
interpreted as invalid escape characters
1 file changed