apply a libtool fix from upstream. update config.sub from upstream.