Fixed makefile library