add a method to check for OS X 10.9 (Mavericks)

I did this anyway to test another branch. Might as well commit the changes.