Fixed compilation without udp