Fix parsing schemas on Ruby 1.8.