fix and use "make distcheck"