[Issue 9663] Compilation problems: Perl backend