[Issue 9672] Permit static linking with libsasl2