Clang complains about extra lambda captures.