Update dynamic library finding