Fixed: Modified external code compilation order.