fix compilation for simple lambdas