Check $host_os instead of $host.