Make last script exit with 0 + Fix shell variables in build script.