Make sure we do not get duplicated entries in the environment
CMake tends to invoke the toolchain multiple times and that results in the environment being artificially blown up with many duplications (see discussion on mattermost).
This change makes sure that repeated invocations of the toolchain are not causing duplicates in the environment.