Revert "Fix sst_dump and reduce_levels_test compile errors"

This reverts commit d8f00b4109e3df10be56141f3ff3ba9b0d10f585.
Revert "Don't compile ldb tool into static library"

This reverts commit e296577ef64deac036a275a1a4c0d6172cfa42df.