Make it work with Mingw32