fixed buildin error on win32 platform