Fix tarball generated by make dist.
(cherry picked from commit a2ef6f02c79c885ba67b90e419c0041572c77286)