Fix OSX installation.