Abstract out lib names of Makefile