cli: use $LIB to handle multilib automagically on glibc