remove deprecated `curl/types.h` include

Also if possible tagged release would be nice ? If not this will have to be patched in homebrew formula.