dirmngr: Allow building without LDAP support.