Fix building on Win32