Well, the code has a lot of linuxisms (for example it is looking into /proc), that may be complicated to change. I have a few ideas to simplify it and make it more easily portable, but for now it is linux-only.