Fix error with callchain in ruby < 2