Use the mingw32 gcc compiler on windows