fix compiling error on vs project.