fixes #2342 replacing $operatingsystem with $osfamily