Modified Makefile to generate static library