Updated Build.sh to work when the repositories path includes spaces