Fix snappy compilation.