Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

Also, fix a bug where eval() caused compile errors.