Unbundling sqlite3 from the library

Using shared library is better seems to be safer option for the library.