Add ldd and ldconfig support, template packages derived from gcc and uclibc