Make sure the destination os/arch are valid.

Store the os/arch struct so later we can detect the file paths, and the
flags for the compiler, etc.