more safer Ruby 1.8 branch condition