gluster/snapshot: Make sure snapshot feature compiles fine on OSX

- Testing snapshot feature still pending
- Add new mntent.{h.c} for OSX compatibility