Only set -fno-stack-protector when using GCC.