fixing compliling issues on heroku