Make yasm-libtool.sh more failsafe