make sure only unique toolchain names are shown
fix bugs catched by unit tests