Fixed path resolution for windows