Enable asan for C core

Also speed up a test, and disable some rarely touched but long running tests
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 0413f19..2e50e5d 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -196,7 +196,7 @@
 LDFLAGS += $(LDFLAGS_$(CONFIG))
 
 ifdef EXTRA_DEFINES
-DEFINES += EXTRA_DEFINES
+DEFINES += $(EXTRA_DEFINES)
 endif
 
 CFLAGS += -std=c89 -pedantic