make distcheck fixes