Add fix for cmakelist
Replace lambda by a std::function (may be fix the problem on g++)
Fix compil error in g++ due to typename
Fix CMakeList for g++
Merge pull request #14 from chaabaj/cmakelists_fix

Cmakelists fix