fix compile on VC