add libconfig to build requirements.