Fix platform_family for python