[Bug 46589] configure --without-gnutls cause link error