fix path splitting on windows