Change Linux library linking orders