Protect against too large input strings.
Add LZ4 include path.
Allow for compilation without query console.