fix compile problem in vc