fix stack-smashing protector usage across platforms by introducing a HAVE_SSP define flag