OSX: Use MAC_OS_X_VERSION_10_6 to know if we can use 10.6 APIs