build: list libraries after objects, for proper linkage