Try to fix the mingw builds.