Both Snappy libraries are made optional.