Fixes Issue #2. Now works under OS X *and* Linux.
Merge pull request #3 from jdickey/add-darwin-support

Fixes Issue #2. Now works under OS X *and* Linux.