Made the directory structure compatible with cocos2d-x.