Only call the win32 winmd generator for x64 builds
pushd .metadata
-dotnet clean && dotnet build /p:OutputWinmd=..\target\%2\%1\Component.Win32.winmd /p:Platform=%2 /p:Configuration=%1
+if "%3" == "x64" dotnet clean && dotnet build /p:OutputWinmd=..\target\%2\%1\Component.Win32.winmd /p:Platform=%2 /p:Configuration=%1
popd
copy target\%2\%1\Component.dll ..\..\.windows\%3
