fix rte_ring build error for linux