Specify return type of lambda to avoid compiler error.

Without this change, I receive the following error when attempting
to build: "C++11 requires lambda with omitted result type to consist
of a single return statement"