Fix win32 msys build