Bugfix: Fixing SEGV in Fedora 19.

It's weird that this code has worked fine in Fedora 20 for ages.