Cleanup Makefile wrt static linking