Correct some script errors.
Run lcov 'gather' step serially to avoid failures.