Fix #72 (Segmentation fault on Windows). Thanks to Kou's suggestion on ruby-list. http://comments.gmane.org/gmane.comp.lang.ruby.japanese/8495