fix compile error on vc.