Move dispatch.hpp out of C++11