Header guard and strlen bug