Add Java8 support for compilation/itest