don't give up on weird os names

like java

closes #3113
Merge pull request #3118 from minrk/osname

don't give up on weird os names