Fix Ruby 1.9isms. Thanks Travis-CI!