Win32 use rand() instead of random()