Check wether CRYPT_RANDOM_IS_WINDOWS is defined before defining it.