You should use osfamily here.