Correct platform path slashes for Windows scripts