change BUILD.sh to use the same repositories and platform