Fix build on systems not supporting SEGV_BNDERR