mmg: fix compilation on x86_64-w64-mingw32