fix regression in distcheck