build: Send failed Perl test configure output to config.log.