Remove cmh_link_modules() from basic examples.

Moved the cmh_link_modules() command inside the cmh_add_*_executable()
commands so that it would no longer need to be called in the basic
examples.