add solution for vs 2010.
fix windows build.