Fixes issue when netifaces module is not installed.