HostSupport: fix warnings