fix build bug from recent commit:https://github.com/facebook/rocksdb/commit/43c386b72ee834c88a1a22500ce1fc36a8208277
tweak build bug fix
docs for shared library builds
Merge pull request #48 from dyu/master

fix build bug