add ifdef HAVE_LDAP_SASL_GSSAPI to fix code path