Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which