Fix gnutls detection.