Disable rand_r at compile time on Windows.