Fix Ruby platform detection in Windows and update superdwarf.rb