Revert "Unecessary lambda capture"
Revert "Unecessary lambda capture"

This reverts commit 9caebcf6d9faaf676c3e0d344bf5caa84d5ebdab.
The lambda capture is necessary for the microsoft compiler.

ddemidov/vexcl,ddemidov/vexcl