[Issue 9243] back-perl configure should test linking with libperl