Added configurable cflags, fixed static libchicken