fix bug when search_lib_dir directory exist more than one over current