fix rapidxml print for gcc4.7 and onwards (stackoverflow.com/questions/14113923/rapidxml-print-header-has-undefined-methods)