Added autoconf support for detecting /dev/random.
Seed random number generator from /dev/random.