fix CCConsole linux crash