fix for building on Fedora