fix compiling error for VC