Fixed compilation with Visual Studio 2010.