removed static library dependencies in Makefile and Makefile.mac