Fix --with-nth option on Ruby 1.8