Remove dependency on netifaces