Changed the GCC THROW for old gcc compilers