Fix make dist for out-of-tree builds.