fix ubuntu/debian build