RF Compressor class and g++ bug fixes