libav with cocos2d on linux platform