Converting project to Java7 instead of Java8