Fixed CMakeLists.txt and fixed UdpReceiver so it builds cleanly