avoid falling over on windows path slashes, use cmake ones instead.
cross platform path separator
bugfix mangled PATH et. al. in windows.