Readded HAVE_COMPRESSION define
Merge pull request #1027 from timostrunk/have_compression_back

Readded HAVE_COMPRESSION define