OSX support

LGTM: