remove unneeded, clang-breaking lambda
WIP: make it build on Linux