Order that we link libraries matters.  See
http://stackoverflow.com/questions/45135/linker-order-gcc.