Fix library packaging order.