Added untested exceptions enabled check for GCC.