fix path assertion on Windows
Merge pull request #145 from mojavelinux/issue-144

fix path assertion on Windows