add support for OSX

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>