app/testpmd: fix static build link ordering