Fixes heroku precompiling issues for different layouts and stylesheets