Fix build failure on Visual Studio 2010.