Makefile: correct placement of -llibrary arguments