use -static linking when linking libr3 AM_CFLAGS and AM_LDFLAGS are Makefile.am scope options disable valgrind tracing check-tree Makefile.am fix Add json support remove useless c files