Unbreak doxygen. Possibly it also needs illumos headers fixes 

(https://www.illumos.org/issues/3787) .

I successfully built and installed doxygen in my build zone, but it has patches applied from mentioned above illumos ussue. Maybe it will not compile on non-patched system.