Adding explicit return types to lambdas to make Intel14 happy