Fix lz4 and snappy warnings.