update debian/install_apr-util.sh: add build checks