You're repeating this moderately complex #if guard four or five times.  I suggest creating a HAVE_TLSEXT_STATUS_CB #define at the top.