More mingw port issues