Fix boolean == missing and Ruby 1.9.3 support.