remove kernel, use osfamily (h/t @3flex)