Compatibility fixes

- Work with either C++11, or TR1, or boost
- Check for OSXFUSE
- Don't use FUSE_OPT_END macro, it may be C-only
- Add missing #includes