fix win/vc build