Fail immediately if linking returns status code != 0