Fixed Perl and Prolog extension error.