can't init a CONSTANT with ||= in Ruby 1.8.x

test suite could only run under Ruby 1.9 or above

#2625 will fail on Travis until this and other backports are merged