An include flag which should be picked up through pkgconfig is not. The root cause is unknown, but it's simple to add the missing flag to NIX_CFLAGS_COMPILE.