compile on mingw32