Switch project to Java 8.