Jpeg library for cocos2dx