More mingw hacks.