make building from a tarball work in the top-level