compile with mingw