libsm: keep libtool stuff