Make configure respect --without-system-$lib-for-build

Change-Id: I64cb58e7980de8fdb23f5c0efa75c05a1f0aa904
Reviewed-on: https://gerrit.libreoffice.org/11330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>