fix autotools for check