Add include for OSX version checking macros.

Make sure AvailabilityMacros.h is included for build systems that do not include it by default.

- Required for macros such as MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_MIN_REQUIRED, etc.