Add leafnode for unix systems
Merge pull request #2269 from jwiegley/leafnode

Add leafnode for unix systems