update library_dirs