Fixed #3830 - os list fails on ruby < 1.9
Merge pull request #54 from mbacovsky/3830_os_list

Fixed #3830 - os list fails on ruby < 1.9