Add support for lambdas to boost::generator_iterator.