set COCOS_CONSOLE_ROOT to path on windows
Merge pull request #5781 from minggo/script-fix

set COCOS_CONSOLE_ROOT to path on windows