Convert Unix and Windows format paths for MinGW.