fix typos in shared build script