Fix MinGW32 build