Merge pull request #497 from rose-m/master

Small OS check fix