Fix AVR build failure in fuzztest
diff --git a/tests/fuzztest/generate_message.c b/tests/fuzztest/generate_message.c
index 8756f3a..51ef83b 100644
--- a/tests/fuzztest/generate_message.c
+++ b/tests/fuzztest/generate_message.c
@@ -48,7 +48,7 @@
     alltypes_static_TestExtension extmsg = alltypes_static_TestExtension_init_zero;
     pb_extension_t ext = pb_extension_init_zero;
 
-    uint8_t buf[4096];
+    static uint8_t buf[FUZZTEST_BUFSIZE];
     pb_ostream_t stream = {0};
     
     do {
@@ -77,8 +77,6 @@
 
     random_set_seed(atol(argv[1]));
 
-    fprintf(stderr, "Random seed: %u\n", (unsigned)random_get_seed());
-    
     generate_message();
     
     return 0;
diff --git a/tests/site_scons/platforms/avr/avr.py b/tests/site_scons/platforms/avr/avr.py
index 2b26ead..9fbb555 100644
--- a/tests/site_scons/platforms/avr/avr.py
+++ b/tests/site_scons/platforms/avr/avr.py
@@ -9,7 +9,7 @@
     env.Replace(CC  = "avr-gcc",
                 CXX = "avr-g++")
     env.Replace(TEST_RUNNER = "build/run_test")
-    env.Append(CFLAGS = "-mmcu=atmega1284 -Dmain=app_main -Os")
+    env.Append(CFLAGS = "-mmcu=atmega1284 -Dmain=app_main -Os -g -Wall ")
     env.Append(CXXFLAGS = "-mmcu=atmega1284 -Dmain=app_main -Os -Wno-type-limits")
     env.Append(CPPDEFINES = {'PB_CONVERT_DOUBLE_FLOAT': 1, 'UNITTESTS_SHORT_MSGS': 1,
                              '__ASSERT_USE_STDERR': 1, 'MAX_ALLOC_BYTES': 32768,
@@ -18,7 +18,7 @@
     env.Append(LINKFLAGS = "-Wl,-Map,build/avr.map")
 
     # Build library for communicating with test runner
-    avr_io = env.Library("build/avr_io.o", "site_scons/platforms/avr/avr_io.c")
+    avr_io = env.Object("build/avr_io.o", "site_scons/platforms/avr/avr_io.c")
     env.Append(LIBS = avr_io)
     
     # This fake define just ensures that the test runner gets build also