Use the CFLAGS variable during build.
Disable asserts in the JSON library when we are not in debug mode.
Merge branch 'master' of git@github.com:searchdaimon/enterprise-search