Needed to put list into its own variable for MS Windows list parse problem

On Windows, when used as a literal value, the foreach loop iterates only once setting idir to the list value with the semi-colons replaced by spaces. This alleviates the problem.