Fix build on win32