Add runtime windows version detection