fixing build_header misdef