Fixing leading slash bug on Windows