Support Visual Studio 2010 build on vs 2012.