Update main_header.hpp

Changes for updated gcc compiler