Fix sqlite build