Fix segfaults with gcc-4.6