Fixed macros in preprocessor.
Assume support for C++ lambdas.