implement windows version check