Add workaround for not linking against GnuTLS