Add platform architecture detection (only windows).