Using winget worked for me:
winget install Microsoft.msmpisdk
This lets you build
winget install Microsoft.msmpi
This lets you run