Changes for netif and devether to compile