neworm: support win32 and wp8