fixed clang build

added missing return values
enable compression debugging