HOSTDEV-705 fix OS detection in setup script