Use generic lambdas in Clang if supported.