Supporting 10.7

Fixes #5
Merge pull request #6 from ringods/patch-1

Supporting 10.7