Fixed path handling for windows