link shell callbacks to shell-cmds and timeslot

Should fix the problems with building on linux,
which seem to be based in weak-linking.

Also link sqlite into database.
actually use c-flag and avoid initializer warning

Manually set the empty shell_tuple explicitly.