fix compile error on win32