fix powershell error during build