clean up code in HierarchicalMNS.det_toolchain_compilers_name_version