removed gcc dependency from begin anchor