added -fPIC to snappy