windows rand_s support fixed

support will be picked up by configure