Small changes to make linuxbrew work.