Only build on Java 8

Signed-off-by: Sebastian Hoß <mail@shoss.de>