Use sw_vers to get the version of OS X