Fixed legacy support in ktech; added legacy build support to krane.