Fix a change breaks compatibility with Win9x

Fixed a change in #167 that breaks compatibility with Windows9x.