link shell callbacks to shell-cmds and timeslot

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