Fix UNIX path for mingw compiler.
Use mingw-w64 crt for Vista and later.