[cocos2d] Mac: remove some preprocessor macro in favor of a sed command