Mavericks support

Fixes #3