Add build option to disable the automatic settings for OS X