some conditional compiler macros for ios 6 and 7