Fixing bugs in windows compile script and ruby_ship.bat.