fix aborted build exit status check