add Java 7 support for Heroku