Support CryptGenRandom() on Windows