Compilation problem with LDAP