[setup][library] Fix bug in library Makefile.