fix: Link libldap & libsasl2 w/o -Wl,--whole-archive
Some code in libldap which we don't need requires libresolv, so we should relax linking rules to let linker drop it.
Some code in libldap which we don't need requires libresolv, so we should relax linking rules to let linker drop it.