Fix loading snappy library on Mac OS X