Fix for heroku deprecating warning on-compile