Fix for Linux IP address determination