Fixes for distcheck.