Handle ruby 1.8