Add support for other versions of OS X.

Note- this still doesn't work great. Pull requests encouraged!