Figure out OS target and set variables based on that in the same subroutine
Don't need two case lists to do the job of one (i.e. simplify)