Fix `make dist` and distcheck breakage

Fixes a regression from #559.
auto merge of #568 : mbrubeck/cargo/dist-fix, r=alexcrichton

Fixes a regression from #559.