Attempts to fix Heroku rails compiling error.