use common lib_dir
remove obsolete file