fix linking in cocos xcode project