Tools/NetTest - Fix compilation errors