Removes obsolete directory lib.