Platform compatibility and build enhancements

The 3 commits I've made add support for building on MacOS/X and group the Snappy implementation files into a static library, and allow for clean compilation with stricter compiler options.