fix the checks for curl-config --ca and the hashed dir