Fixes make dist
Remove redundant lambda wrapper