Fix compilation on Visual Studio 2010