build libpq without ldap support - refs #123