Curl build script update