Fix Mayhem crash

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716445