update build_wgs.sh to use svn