applying patch proposed by Thomas Dreibholz for building on recent fedoras