fixed CFLAGS, fixed variable naming convention