Fix build if TINYMUX_MODULES is intentionally disabled.
Move CLog and CLogFactoryfrom modules.cpp and modules.h to log.cpp and externs.h.