more fixes for installation on fedora