Link against samba-errors library instead of errors