s3-waf: Link libcli_lsa3 only against needed subsystems.