Fix compilation error on VS2010