Fix distcheck

libcoretest wasn't being included which broke the verification of the
tarball.