build segmented_stack_allocator.cpp depending on property <segmented-stacks>