Fixed precompile issues for Heroku