pkgconfig
autoreconfHook
buildInputs
Only acts on one-line dependency lists.
These packages, and maybe some more include unix.h for some reason. Creating that file makes them build, and in the case of xdebug also appear to work.