compile RocksDB with optimizations