Exit 1 on platform build failure.