Fix up build script. Fix up linting errors.