order of linking in makefile