repair lib search path