Fixing Java compat version