Copied the compile script from github.com/heroku/heroku-buildpack-java (602b016eb4)