Fixed fedora issues

Fixed the dependency checks for fedora