Ensured that that details::min/max were always prefered over std::min/max.