Make sure that zstd is statically linked correctly in the Java static build
Make sure that zstd is statically linked correctly in the Java static build

Summary:
Closes https://github.com/facebook/rocksdb/issues/2280
Closes https://github.com/facebook/rocksdb/pull/2292

Differential Revision: D5061259

Pulled By: sagar0

fbshipit-source-id: eec89111d114c04beee5870a4eb4b51857754783

SunguckLee/RocksDB,Andymic/rocksdb,vmx/rocksdb,Andymic/rocksdb,Andymic/rocksdb,bbiao/rocksdb,bbiao/rocksdb,vmx/rocksdb,bbiao/rocksdb,bbiao/rocksdb,Andymic/rocksdb,bbiao/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,Andymic/rocksdb,Andymic/rocksdb,SunguckLee/RocksDB,bbiao/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,bbiao/rocksdb,vmx/rocksdb,vmx/rocksdb,SunguckLee/RocksDB,SunguckLee/RocksDB,vmx/rocksdb,Andymic/rocksdb,SunguckLee/RocksDB,Andymic/rocksdb,vmx/rocksdb,SunguckLee/RocksDB,bbiao/rocksdb