Various updates of build scripts.