core: fix make distcheck