Fixed compilation with Visual Studio 2008.