Fix the win32 and android compile error