compile-warnings: fix warning for core/config.h
compile-warnings: fix warnings for MessageDirector.h
compile-warnings: fix warnings for core/logger.h
compile-warnings: Fix warning for NetworkClient.h