Fix tests build on system without gnutls