fix linking sendmail