Fix C extension on older versions of Mac OS X

Resolves #15
Merge pull request #18 from millerdev/master

Fix C extension on older versions of Mac OS X