hack to allow building on fedora and ubuntu