DGIndex: Change procedure of windows version check