Adding only necessary packages to dist.

(Which means tests are not required)