added stack protection flags to compilation