mingw32 compat