Fix expend problem in Windows, ruby-1.9.3-p374, thanks @parkr