Add compatibility with Java 7 targeting a Java 6 source