Fix up mingw64 target.