build_test.fns: use --with-perl-{lib,arch}-install-dir= for samba_4_*

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>