Fixing issue with Windows paths

This fixes the issue with forward slashes being used in the paths when Windows actually uses backslashes.