checking NC_HAVE_BACKTRACE requires nc_core.h to be included first