Add missing cJSON.h include.
Factor out "-pipe" from warning switches.