Note that tests currently still require an external sqlite3
for the command-line client.
However, for that the version does not matter - so I guess while
not completely nice it could be ok...
On a first glance - this kind of seems to work. On mac-os you need
a newer than the system-installed sqlite - the hanging problem only
occurs with that one...
Sadly there also seems to be another deadlock issue which I am currently
not really able to figure out - on shutdown sometimes (too often) the main
thread + all sqlite threads wait for semaphores or mutexes.