Add conditional code to handle differences between 10.8 and 10.9
Merge pull request #1 from steveriggins/master

Add conditional code to handle differences between 10.8 and 10.9