configure: Use correct variable name in libsnappy test