Fix make distdir target script