Add support for rtld directory different from slib directory