'AWSTATS with GeoIP2Lite showing numbers instead of country flags

I configured GeoIP2Lite (Country and City) to use with AWSTATS 7.8 on CentOS7. So far it's working, but I cant see the flags of the countries. Instead they're shown as numbers. (See attached screenshot)

How can I show the flags instead of numbers? Screenshot of AWSTATS



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source