Changed C++ requirement to C++11 due to use of <functional>.