Fix for platforms without AF_UNIX constant