cmake/sqlite: add dl to Linux linker

fixes #406

NOTE: this is a candidate for the stable branch