fix the --without ldap bcond