Add Java 1.7 support (for Heroku)