pantheon: Creating a seamless cross-compiling build system

The side quest continues, using the previous part to develop a build system for pantheon. This build system needs to be able to build programs seamlessly for either the host architecture, or for pantheon's one (riscv-64 for now). It is also completely overkill as a few Makefiles would have done the job, but where is then fun in that?