Add OS X target, supported via conditional compilation

Issue #83

Feedback appreciated--may have easily overlooked something or been overzealous somewhere.