Fix macro to work correctly under 10.7 SDK / iOS 4 SDK
Use Apple's recommended style, and fix so it works under 10.7 or pre-5.0
Merge pull request #890 from noa--/lion_fix

Fix macro to work correctly under 10.7 SDK / iOS 4 SDK