define _VARIADIC_MAX to compile std::function