Add rules to build ldap NSS module.