Fix for Gestalt being deprecated

Gestalt() is deprecated since 10.8. SystemVersion.plist is the recommended replacement.

### References:
- http://stackoverflow.com/questions/11072804/mac-os-x-10-8-replacement-for-gestalt-for-testing-os-version-at-runtime
- http://cocoadev.com/wiki/DeterminingOSVersion