Fixing configuration to compile correctly on Heroku