Fix OSX build for sysinit
Fix OSX compilation for aufs
Merge pull request #3264 from creack/fix_osx_compilation

Fix osx compilation