udp: Fix compilation on Linux