added libconfig check