updated to compile with mingw