Fix spec failures on ruby < 1.9 (fixup)