Make RAND_egd support conditional