Use target 1.6 to ensure compilation on JDK9 works