Added (very) initial MacOSX support