Fix lua cocos console on linux