compile with mingw on windows