cmake/sqlite: add dl to Linux linker

fixes #406

NOTE: this is a candidate for the stable branch
version: note #406 fix in changelog