Disable rand_r at compile time on Windows.
Merge pull request #949 from dwf/window_flip_windows

Disable rand_r at compile time on Windows.