Fix MinGW installation directory when cross-compiling on Linux host.