fix vc compile