Building now works on mingw32