add libpq into config file