Update to build script so fix errors in building installers