Fixed linking order.