Fixing return type deduction of complex lambda expressions, which is a C++14 feature (or GCC C++11 extension)