weechat: add cross build support (XXX perl and ruby pkgs are currently disabled).