fix path handling on Windows
Merge pull request #2840 from MattKunze/windows_paths

fix path handling on Windows