ci: use subshells for dependency source compilations