If libgcrypt is available but /dev/urandom is not, use libgcrypt for RNG