Use osfamily instead of operatingsystem

I needed to add Scientific Linux and decided that this would be cleaner.