Libya and Niger boosted their ambitions of qualifying for the 2025 Africa Cup of Nations following Thursday's qualifiers.