Made sure the headless cocos2d still compiles and runs with iOS target.