Add macosx setting