Made rng_t constructor use clock_realtime() for time-based seeding.