Fix Tophat installation on OSX.