Adapt installation for Heroku.