Fix broken sqlite supporting