Fixing error in CMake code when substituting '/' for back-slashes in windows paths

Fixing error in CMake code when substituting '/' for back-slashes in
windows paths