libtool cargo cult fixes