Cameroon and Algeria have secured places in the Africa Cup of Nations finals, but Nigeria's game with Libya appears off with the Super Eagles returning home.