Fixed the LOG() macro compilation issue with when using std::endl()