prepare for mingw64-safe-ing