Add build support for Darwin.

Thanks Patrick Wildt.

Closes #66