add a series of configuration tweaks for OSX