make: Improve error handing when building libavl.