Bug fix: Compilation failure with NO_LIBCONFIG / NO_C2

- Fix compilation failure with NO_LIBCONFIG or NO_C2. Thanks to
  Spaulding for reporting.