fix compiler warnings for noexceptions