Fix rocksdb buildscript, partially works