Fix shell variables in build script.