This reverts commit f8d944cb. Not needed anymore, since libldif was merged into libldap. Additionally the commit broke linking with "--as-needed".