Fix Mavericks compatibility (#32)