fix build order.