Argument order is important for linking

We need to have the libraries _after_ the code that uses them, or the
resulting library will not have the dependancies that we want.