Consistently make CaptureConfig a class.  Fixes a compiler warning.