refix mingw error