A few fixes for the xc-windows build

Sadly error handling in signing was still broken after my last pull request was merged since powershell silently discards exceptions inside foreach-object loops. Also we assumed signtool was on the path in one place. We also have some missing target names which broke debug builds.