Fix multi-arch configure issue for openldap.