fix check_os to detect Solaris
Merge pull request #192 from ftnk/fix-check_os-to-detect-solaris

fix check_os to detect Solaris