Updated libconfig to reset lc_errno at the start of each function