It's easy to miss in Unity, but in the Build Settings window you have to change the "Target Platform" and build each executable separately.
Thanks 👌