Fix user defined compaction; patch by yukim reviewed by jbellis for CASSANDRA-5118