host: Cygwin build fixes