adapt cocos2d new version and vs2010