sys/types.h has a related define in config.h.cmake, but is never checked for in CMake. Bring this in sync.
LGTM