mk: Restructure makefiles to distinguish between host and target triples