Added Win2012/Win8 detection; without any added constants.