Fix error while loading shared libraries: