cocos2d-console: now detects plugins and runs correctly