Fix compile error on WIN32.