Fix GSE errors under GCC