script/autobuild: make use of --with-perl-{arch,lib}-install-dir