Stop build process more reliably on failure.