Composition-lattice interactions in ternary transition-metal boride ferromagnetic systems