Stack protector flags are required also at link time, at least on MinGW

Github issue 34