fix platform_family check for fedora