Avoid false positive when detecting OS

Ref. #11.