Ruby 1.9 compatible syntax; fix specs in Rubinius.