[2] add check for curl binary.