I faced the same problem after upgrading to macOS Catalina. Seems that there is an issue in the Xcode command line tools (MacOS.sdk15 i think).
I post one comment about how to resolve that issue here: `later` package not compiling on MacOS ("unknown type name uuid_t").
Hope that help.