build: Add kludge for "make distcheck" in a release build.