Revert "lz4: Restore version that compiles properly"

This reverts commit 011c05cab11742b00f3e8b0afdc76e322a3e83b9.

Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>