That's true, but the author has solid reasons for doing so:
> I want my application to work on OS X and Linux, so I’m targeting PF_KEYv2 instead of OS-specific APIs.
> I want my application to work on OS X and Linux, so I’m targeting PF_KEYv2 instead of OS-specific APIs.