Congo claimed their first victory at the Africa Cup of Nations in more than 40 years with a 1-0 win over Gabon on Wednesday.