build-lib-arch tweaks