Cast the lambda into a function pointer to see if that helps VS2010 do the right thing.