KEYCLOAK-355 Fix distribution build on JDK8