cmake: enable zlib and LZ4 if they are available by default