check MS Windows version for prompt

Signed-off-by: Conke Hu <conke.hu@maxwit.com>