fix compile error for vs project.