Fix relative path problems in build-release.sh