[Nc-Core] Moved Definition of LOG macros outside of the anti-include macros so we can force a redefinition of the LOG macros in case they are overwriten by a lib.
(mongodb c++ driver was overwritting the LOG macros)