Fix make distcheck and building on systems without libelf
Fix make distcheck and building on systems without libelf

Open343/pkg,khorben/pkg,skoef/pkg,Open343/pkg,khorben/pkg,junovitch/pkg,en90/pkg,khorben/pkg,en90/pkg,skoef/pkg,junovitch/pkg