Fix compilation on VS2010