Fix compilation error in VS2008