Revert "Check that renaming the link object succeeds on windows"

This reverts commit b76a719d60d811b677e5d87ea2167742b9b03d00.
Fail immediately if linking returns status code != 0