Probable fix for a segfault that was happening on Debian.