fix the build on centos to use recent rocksdb and statically link stdc++