Avoid non-zero exits in build script