Explicitly include <functional> header

This fixes failing build
Merge pull request #45 from trollixx/fix_build_std-function

Explicitly include <functional> header