[GH-37] Support Darwin (OS X) again
Merge pull request #38 from rickard-von-essen/posix

[GH-37] Support Darwin (OS X) again