build fix on win32