makefile reordering of -l flags