make dom-awk work with Ruby 1.8