Do not use ifaddrs on Android as it is not natively supported