Fix build error with missing stdexcept include