Add Mac OS X compat