Fix the variable references in the windows installer building scripts