added stdexcept for linux build fix