add defconfig, modify Makefile for CFLAGS, fix build error