fix path replacement on windows, fixes #33