fix compiling error in vs project on win7.
Merge pull request #4695 from Dhilan007/update_vs_project

fix compiling error in vs project on win7.