Compile with a source setting of Java 1.6.