Improved ldconfig usage