add -fno-common to CFLAGS