Add some changes for lz4.