put the QString operatingSystem inside each of these ifdefs

`QString operatingSystem("mac");`