[Bug 15097] LDAP checks during configure do not work on Solaris