[boost] Lambda patch to enable *_1 for smart pointers