listcomponents: rename variable lib to alib to fix shadow warning (because of lambda capture in c++14?)