Configure compilation to Java 7