Removed dependency on networksetup to get list of network interfaces