Conditional snappy

Refactor of #33 w/o GPL code.