Use libname variables in Makefile.