Handle when ldconfig is not on the path, and do not run it until after the libdir has been populated.