Removed unneeded libraries in makefile