Add support for Snappy and LZ4