get lambda example compiling on clang