Fix behavior of simultaneous "make" and "make dist".