Modified db_config to build using shared library.