fixes #2342 keeping $oslevel, removing osfamily warning