fix weechat build