fixed building error on win32 platform