fix for #9: $operatingsystem becomes $::operatingsystem