Fixed compilation with current OpenLDAP versions.