emit error message if using NT2_ASSERTS_AS_EXCEPTIONS with exceptions disabled
add missing extern inline for throw_exception