Suport for cross-compiling for Windows using mingw