Remove unecessary parameter passing in lambda

We don't need to pass parameters from the wrapper function into the lambda
as those are capture anyway.
Correctly remvoe the build directory on make clean