Move osx config to separate file.