Updated OSX version checker to work on Yosemite