Fix MEGA Logger compiliation issue