Fix missing <stdexcept> header