fixed for lower libconfig version