Add #include <functional> in featureselect.cpp

Fix a bug of missing #include <functional>