add osx configuration.