Allow compilation on Linux

Compilation on our linux server was failing due to libcompress using C99 constructs. These modifications of the CMakeLists fix it.