WIN32 specific hack to eliminate compiler warning

This is a hack that should be refactored to remove any platform dependency here.