fix optional dependencies for sqlite