fix the build of net: dos_errstr is replaced by win_errstr...