Use pathname to build paths pointing to libraries