Added macros for checking iOS version