Detects Heroku when setting paths.