core: packaging cleanup
mds: fix make distcheck