Allow Java 7 builds