Fix multi-arch configure issue for curl.