build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SET