Conditionalize use of LDAP_OPT_DEBUG_LEVEL

Conversation with Will suggests that we should try to use the OpenLDAP library on Solaris by default.  But I still want this patch since someone might prefer to use the native LDAP library for whatever reason, and because the configure goo for finding OpenLDAP on Solaris might not get written for a while.