add -version info for libtool to use (#4586)