Don't bother unpacking sqlite if we're not using it

This also helps with packaging, where the dependencies have to be removed early on to make sure there is no risk of the internal versions being used.