build.rb: fixes for win32? now being called win?