Add Darren Steven's build fix for fedora 18