check for platform_family, not platform
remove the apache 2.4 relevant part, which will be solved differently