xchat: fix linking error