Use C version of libconfig.

libconfig++ is only a thin wrapper around libconfig. Because of the
use of exception handling this wrapper requires more memory than needed.
As we have our own wrapper (ConfigFile) just drop the C++ stuff.
Merge pull request #745 from redstar/libconfig

Use C version of libconfig.