adds basic OS X support