make things compile with mingw64.