Add magic configuration that seems to work for OSX.