Fix OSX config