Make self-endian net test work on win32