fixed build on win32