fix build failure if snappy is missing
Merge pull request #16 from manuzhang/fix_build_failure_if_snappy_missing

fix build failure if snappy is missing