Windows test fix: architecture detection