use value_for_platform_family instead of an ugly case