add missed external module for cocos console on linux

This pr is to fix cocos console (cpp version) on linux