Fixed incorrect use of std::enable_if