Fix optional Snappy support