rand_s() is only in Win XP and latest. so use rand() until we decide to not support...