Use SystemRandom (os.urandom) when available.