readd CFLAGS
remove unused variable