add required compiler flags for segmentad-stacks