deploying to heroku and solving compliation problems