Detect Darwin for beginning to support OS X.
Merge pull request #95 from matsuo/detect-darwin

Detect Darwin for beginning to support OS X.