Improve check in LDAP test to find the OpenLDAP installation