switching to platform_family detection