Change condition to platform_family