Compilation error in VS2010