Prevent crash on 10.7
Merge pull request #42 from codecaffeine/master

Prevent crash on 10.7