Changing makefile so that the resulting library is static