Replaced a couple of 10.9-only methods with more available ones
Merge pull request #112 from nickynick/osx-10.8-compatibility

Replaced a couple of 10.9-only methods with more available ones