Made the iOS and OS X macro checks consistent.