Lynx entries in my apache logfile are reported as "Perl tool"
User agent: "Lynx/2.8.7rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8k"
If I comment out the libwww related entries in robots.pm it works correctly.
Awstats version used: Advanced Web Statistics 6.95 (build 1.943)
This behaviour is still evident for me in version 7.3.
I have found that by anchoring the pattern in @RobotsSearchIDOrder_list2 to the start of the regex (ie. using '^libwww') then Lynx is correctly reported and genuine vanilla libwww user agents are still identified as bots.