CMake: Changed slash format to support MSYS.

Ref.: #1044