fixing bug with seetting the random seed based on date on Windows