Fixed errors without libconfig