tools/env.sh: Turns out the env.sh also needs to be grokable by kmk_ash as windows build boxes uses it. So, had to put the RemoveDirFromPath function in a sparate file to avoid kmk_ash barfing on bash-specific subtition.