Fix platform_family to platform in attributes.