LZ4 has flagged the LZ4_compress method as deprecated.
This can cause problems with strict compiling on systems that have LZ4 v1.7.5 and above.