Set targetCompatibility to Java 6