Fixed sqlite and postgresql add-ons