avoid calling RAND_poll that will crash on windows