updated for libtool