Fixing mingw on windows