cmake/sqlite: add dl to Linux linker

fixes #406

NOTE: this is a candidate for the stable branch
Merge pull request #592 from karolherbst/bug406

cmake/sqlite: add dl to Linux linker