[#1902] add curl to build.sh dependencies