Enables cross compilation with mingw