build: Split-out build-source-lib.sh from build-lib.sh.