Handle yosemite version