Fix a segfault with GCC.