Fix building on win32