[C++] Missing include of <functional>, breaks the build on RHEL6 devtool...

...set-2