Fix build with -DCC_ENABLE_SCRIPT_BINDING=0 , it causes failed
Merge pull request #7392 from xhcnb/fix_CC_ENABLE_SCRIPT_BINDING_build

Fix build with -DCC_ENABLE_SCRIPT_BINDING=0 , it causes failed