fixed makefile LD ordering