Adds compiler directive to use compression for iOS 7.1+ but not for earlier versions.